Willem FlammaSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Jan Willem Flamma schrieb am 03.09.2020 um 10:29:> Dear Julian,> > I use something similar using a main product file, an environment file > that contain the styling and several components t
Jan Willem Flamma schrieb am 03.09.2020 um 10:29:
Dear Julian,
I use something similar using a main product file, an environment file
that contain the styling and several components that build up the
frontmatter, the manual and the appendices.
Below my setup where I start the roman
Credits to Pragma who helped me to set this up a few years ago. From: jbfSent: Friday, 4 September 2020 00:20To: Jan Willem FlammaCc: ntg >> mailing list for ConTeXt usersSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Thanks Jan, that is an extensive bit of work
*From: *jbf <mailto:roma83...@gmail.com>
*Sent: *Thursday, 3 September 2020 06:05
*To: *mailing list for ConTeXt users <mailto:ntg-context@ntg.nl>
*Subject: *[NTG-context] \setupuserpagenumber not working as expected
Am seeking to have frontmatter pages in roman numer
jbf schrieb am 03.09.2020 um 06:32:
Thanks Wolfgang. I did have the respective setupsectionblocks, but
they said [page= ], so I have now changed them to [page=yes] and
things work as expected. I also tried the second \page method you
offered, which, naturally enough, also works. I take it
for ConTeXt usersSubject: [NTG-context] \setupuserpagenumber not working as expected Am seeking to have frontmatter pages in roman numerals and from Chapter 1 onwards in arabic numerals. I have achieved something of the kind, but page 1 (arabic) is appearing on the last page of the frontmatter
]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\setuplist[chapter][pageconversionset=pagenumber]
\setuppagenumber[number=1]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopsectionblockenvironment
The frontmatter
]
\setupuserpagenumber[numberconversion=romannumerals]
\setuplist[chapter][pageconversionset=pagenumber]
\setuppagenumber[number=1]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopsectionblockenvironment
The frontmatter is some 16 pages worth (ends